# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=nsnake
pkgver=3.0.0
pkgrel=0
pkgdesc="snake game for your terminal"
options="!check suid" # suid is required for saving scores.
url="http://projects.malikania.fr/nsnake"
arch="all"
license="ISC"
makedepends="ncurses-dev"
subpackages="$pkgname-doc"
source="http://releases.malikania.fr/nsnake/$pkgver/nsnake-$pkgver.tar.xz"

build() {
	make PREFIX=/usr VARDIR=/var
}

package() {
	make PREFIX=/usr VARDIR=/var DESTDIR="$pkgdir" install
}

sha512sums="
8d65ea44d3ff3242d7e381759993464876889c01b49405dda4cceb617f824c00c2bd78ceb18f46e950dc67911823f4acb9412dcd84937d16c53c40d2183ada26  nsnake-3.0.0.tar.xz
"
